//
//  VioCityModel.h
//  carcareIOS
//
//  Created by ileo on 16/8/8.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "BaseModel.h"

@interface VioCityModel : BaseModel

@property (nonatomic, assign) NSInteger cid;//城市id
@property (nonatomic, copy) NSString *name;//城市名称
@property (nonatomic, copy) NSString *apikey;
@property (nonatomic, assign) NSInteger needcap;
@property (nonatomic, copy) NSDictionary *params;
@property (nonatomic, copy) NSArray *subcities;

@property (nonatomic, assign) NSInteger pid;//父城市id 0则为省份城市 没有直辖市
@property (nonatomic, assign) NSInteger idnum;//身份证号需要字段

@property (nonatomic, assign) BOOL needIdNum;//是否需要身份证号

@property (nonatomic, copy) NSArray *subCityModels;//子城市 model
@property (nonatomic, assign) BOOL hasSubCities;//是否有子城市
@property (nonatomic, assign) BOOL canChoice;//是否可选

@end


@interface VioCityClickModel:BaseModel

//@property (nonatomic , copy) NSString * clickKey;//存储坐标
@property (nonatomic , assign)BOOL hasSubCities;//是否有子城市
@property (nonatomic , assign) BOOL isClick;//存储的值
@property (nonatomic , copy) NSArray * clickSubCitys;//子城市 的数组

@end


